package org.zachary.commonservice.entity;

import java.io.Serial;
import java.util.Date;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (News)实体类
 *
 * @author makejava
 * @since 2025-07-07 19:31:01
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class News implements Serializable {
    @Serial
    private static final long serialVersionUID = 340239874851445048L;
/**
     * 新闻主键ID
     */
    private Integer id;
/**
     * 标题
     */
    private String title;
/**
     * 描述
     */
    private String description;
/**
     * 发布日期
     */
    private Date date;
/**
     * 作者
     */
    private String author;
/**
     * 展示图片
     */
    private String image;
/**
     * 分类
     */
    private String category;
/**
     * 标签
     */
    private String tags;
/**
     * 浏览量
     */
    private Integer views;

}

